import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class DashLine extends StatelessWidget {

  List color=[
    Colors.blue,
    Colors.red,
    Colors.green
  ];

  List num=List(7);

  @override
  Widget build(BuildContext context) {
    return Container(
      constraints: BoxConstraints(
        maxWidth: 700.w,
      ),
      decoration: BoxDecoration(

      ),
      width: 700.w,
      height:3.w,
      child: Row(
        children: num.map((i){
          return Row(
            children:
            color.map((value){
              return Row(
                children: [
                  Container(
                    width: 20.w,
                    height:3.w,
                    color: value,
                  ),
                  SizedBox(width: 15.w,)
                ],
              );
            }).toList(),

          );
        }).toList(),
      ),
    );
  }
}
